<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<TITLE>Untitled Page</TITLE>
		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<META content="MSHTML 6.00.2900.5848" name=GENERATOR>
		<link href="../css/public.css" rel="stylesheet" style="text/css">
	</HEAD>
	<BODY style="BACKGROUND-POSITION-Y: -120px; BACKGROUND-IMAGE: url(../images/background.gif); BACKGROUND-REPEAT: repeat-x">
	<SCRIPT type=text/javascript>      
		function doPostBack() {
			document.enterprise.submit();
		}
		function turnpage(){
		var curPage=document.getElementById("page").value;
		if(isNaN(curPage)){
		window.location.href="stock_getbyId?pb.pageNo="+1;		
		}
		else{
		window.location.href="stock_getbyId?pb.pageNo="+curPage;
		}
	}
</SCRIPT>
		<SCRIPT src="EmployeeMgr.files/WebResource.axd" type=text/javascript></SCRIPT>
		<SCRIPT src="EmployeeMgr.files/ScriptResource.axd" type=text/javascript></SCRIPT>
		<SCRIPT src="/EmployeeMgr.files/ScriptResource(1).axd" type=text/javascript></SCRIPT>
		<DIV>
			<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%"
				border=0>
				<TBODY>
					<TR
						style="BACKGROUND-IMAGE: url(../images/bg_header.gif); BACKGROUND-REPEAT: repeat-x"
						height=47>
						<TD width=10>
							<SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px">
							</SPAN>
						</TD>
						<TD>
							<SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl2.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px">
							</SPAN>
							<SPAN
								style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hb.gif); PADDING-BOTTOM: 10px; COLOR: white; PADDING-TOP: 10px; BACKGROUND-REPEAT: repeat-x; HEIGHT: 47px; TEXT-ALIGN: center; 0 px: ">
								<a href="library_findLibrary.action">返回</a> </SPAN><SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hr.gif); WIDTH: 60px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px"></SPAN>
						</TD>
						<TD
							style="BACKGROUND-POSITION: 50% bottom; BACKGROUND-IMAGE: url(../images/main_rc.gif)"
							width=10></TD>
					</TR>
					<TR>
						<TD style="BACKGROUND-IMAGE: url(../images/main_ls.gif)">
							&nbsp;
						</TD>
						<TD
							style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; COLOR: #566984; PADDING-TOP: 10px; BACKGROUND-COLOR: white"
							vAlign=top align=center>
							<DIV>
								<form action="" method="post"
									name="enterprise">
									<TABLE class=gridView id=ctl00_ContentPlaceHolder2_GridView1
										style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0
										rules=all border=1 align="left">
										<TBODY>
											<TR>
												<TH class=gridViewHeader style="WIDTH: 50px" scope=col>
												&nbsp;
											</TH>

												<TH class=gridViewHeader scope=col>
													出库单编号
												</TH>

												<TH class=gridViewHeader scope=col>
													商品编号
												</TH>
												<TH class=gridViewHeader scope=col>
													商品名称
												</TH>
												<TH class=gridViewHeader scope=col>
													商品规格
												</TH>
												<TH class=gridViewHeader scope=col>
													商品单位
												</TH>

												<TH class=gridViewHeader scope=col>
													出库数量
												</TH>
												<TH class=gridViewHeader scope=col>
													备注
												</TH>
											</TR>
											<s:iterator value="pb.list">
											<tr>
											<TD class=gridViewItem style="WIDTH: 50px"><IMG src="EmployeeMgr.files/bg_users.gif"></TD>
												<TD class=gridViewItem>
													<s:property value="sn" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="commodity.sn" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="commodity.name" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="commodity.specifications" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="product.company" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="quantity" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="remarks" />
												</TD>
											</tr>
											</s:iterator>
										</TBODY>
										<TR>
									    <TD colspan="23" align="right" class=gridViewHeader>
									    	总共有<s:property value="pb.totalitem"/>条记录
									    	每页<s:property value="pb.pagesize"/>条记录
									    	当前为第<s:property value="pb.pageon"/>页/
									    	总共有<s:property value="pb.totalpage"/>页
									    	<a class="a_a" href="library_findLibraryList.action?pb.pageon=1">第一页</a>
									    	<a class="a_a" href="library_findLibraryList.action?pb.pageon=<s:property value="pb.prep"/>">上一页</a>
									    	<a class="a_a" href="library_findLibraryList.action?pb.pageon=<s:property value="pb.nextp"/>">下一页</a>
									    	<a class="a_a" href="library_findLibraryList.action?pb.pageon=<s:property value="pb.totalP=page"/>">最后一页</a>
									    	转到第<input type="text" id="page" size="1"/>页<input type="submit" value="Go" onclick="javascript:turnpage();"/>
									   </TD>
								    </TR>	
									</TABLE>
								</form>
							</DIV>
						</TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_rs.gif)"></TD>
					</TR>
					<TR
						style="BACKGROUND-IMAGE: url(../images/main_fs.gif); BACKGROUND-REPEAT: repeat-x"
						height=10>
						<TD style="BACKGROUND-IMAGE: url(../images/main_lf.gif)"></TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_fs.gif)"></TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_rf.gif)">
							<br>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
		</DIV>
		<SCRIPT type=text/javascript>
	//         
	Sys.Application.initialize();
	//
</SCRIPT>
	</BODY>
</HTML>
